Given the following locations, ['Massachusetts Institute of Technology', 'Harvard University', 'Boston Logan International Airport'], what would be the optimal route to travel through them all in order to minimize total travel time? Please note the journey begins at the first place listed.
RootWebArea 'OpenStreetMap', focused, url='http://10.141.10.6:3000/#map=7/42.896/-75.108' banner '' heading 'OpenStreetMap logo OpenStreetMap' [23] link 'OpenStreetMap logo OpenStreetMap', url='http://10.141.10.6:3000/#map=7/42.896/-75.108' image 'OpenStreetMap logo', url='http://10.141.10.6:3000/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg' navigation '' [24] link 'Edit', url='http://10.141.10.6:3000/edit#map=7/42.896/-75.108' [25] button '' [26] link 'History', url='http://10.141.10.6:3000/history#map=7/42.896/-75.108' [27] link 'Export', url='http://10.141.10.6:3000/export#map=7/42.896/-75.108' navigation '' list '' listitem '' [30] link 'GPS Traces', url='http://10.141.10.6:3000/traces' listitem '' [31] link 'User Diaries', url='http://10.141.10.6:3000/diary' listitem '' [32] link 'Communities', url='http://10.141.10.6:3000/communities' listitem '' [33] link 'Copyright', url='http://10.141.10.6:3000/copyright' listitem '' [34] link 'Help', url='http://10.141.10.6:3000/help' listitem '' [35] link 'About', url='http://10.141.10.6:3000/about' [28] link 'Log In', url='http://10.141.10.6:3000/login?referer=%2F#map=7/42.896/-75.108' [29] link 'Sign Up', url='http://10.141.10.6:3000/user/new' [1] link 'Where is this?', url='http://10.141.10.6:3000/#' [2] textbox 'Search', focused [3] button 'Go' [4] link 'Find directions between two points', url='http://10.141.10.6:3000/directions' image '', url='http://10.141.10.6:3000/assets/directions-b08069e78ff09f082d27a7434b49685efa647060cf51a71d74074ad350e3fd66.png' heading 'Welcome to OpenStreetMap!' [5] button 'Close' paragraph '' StaticText 'OpenStreetMap is a map of the world, created by people like you and free to use under an open license.' paragraph '' StaticText 'Hosting is supported by' [19] link 'UCL', url='https://www.ucl.ac.uk/' StaticText ',' [20] link 'Fastly', url='https://www.fastly.com/' StaticText ',' [21] link 'Bytemark Hosting', url='https://www.bytemark.co.uk/' StaticText ', and other' [22] link 'partners', url='https://hardware.openstreetmap.org/thanks/' StaticText '.' [6] link 'Learn More', url='http://10.141.10.6:3000/about' [7] link 'Start Mapping', url='http://10.141.10.6:3000/user/new' image '', url='https://tile.openstreetmap.org/7/36/46.png' image '', url='https://tile.openstreetmap.org/7/37/46.png' image '', url='https://tile.openstreetmap.org/7/36/47.png' image '', url='https://tile.openstreetmap.org/7/37/47.png' image '', url='https://tile.openstreetmap.org/7/36/45.png' image '', url='https://tile.openstreetmap.org/7/37/45.png' image '', url='https://tile.openstreetmap.org/7/35/46.png' image '', url='https://tile.openstreetmap.org/7/38/46.png' image '', url='https://tile.openstreetmap.org/7/35/47.png' image '', url='https://tile.openstreetmap.org/7/38/47.png' image '', url='https://tile.openstreetmap.org/7/36/48.png' image '', url='https://tile.openstreetmap.org/7/37/48.png' image '', url='https://tile.openstreetmap.org/7/35/45.png' image '', url='https://tile.openstreetmap.org/7/38/45.png' image '', url='https://tile.openstreetmap.org/7/35/48.png' image '', url='https://tile.openstreetmap.org/7/38/48.png' image '', url='https://tile.openstreetmap.org/7/34/46.png' image '', url='https://tile.openstreetmap.org/7/39/46.png' image '', url='https://tile.openstreetmap.org/7/34/47.png' image '', url='https://tile.openstreetmap.org/7/39/47.png' image '', url='https://tile.openstreetmap.org/7/34/45.png' image '', url='https://tile.openstreetmap.org/7/39/45.png' image '', url='https://tile.openstreetmap.org/7/34/48.png' image '', url='https://tile.openstreetmap.org/7/39/48.png' [8] link 'Zoom In', url='http://10.141.10.6:3000/#' [9] link 'Zoom Out', url='http://10.141.10.6:3000/#' [10] button 'Show My Location' [11] link 'Layers', url='http://10.141.10.6:3000/#' [12] link '', url='http://10.141.10.6:3000/#' [13] link 'Share', url='http://10.141.10.6:3000/#' [14] link '', url='http://10.141.10.6:3000/#' [15] link '', url='http://10.141.10.6:3000/#' StaticText '50 km' StaticText '50 mi' StaticText '©' [16] link 'OpenStreetMap contributors', url='http://10.141.10.6:3000/copyright' StaticText '♥' [17] link 'Make a Donation', url='https://donate.openstreetmap.org/' StaticText '.' [18] link 'Website and API terms', url='https://wiki.osmfoundation.org/wiki/Terms_of_Use'
To determine travel times between the three locations, we must navigate to the directions interface. Clicking the directions link will open a new interface where we can input the coordinates or addresses for MIT, Harvard University, and Boston Logan International Airport and choose a mode of transportation (default is car). This is the necessary step before any calculations can be performed.
click('4')RootWebArea 'OpenStreetMap', focused, url='http://10.141.10.6:3000/directions' banner '' heading 'OpenStreetMap logo OpenStreetMap' [25] link 'OpenStreetMap logo OpenStreetMap', url='http://10.141.10.6:3000/#map=7/42.896/-75.108' image 'OpenStreetMap logo', url='http://10.141.10.6:3000/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg' navigation '' [26] link 'Edit', url='http://10.141.10.6:3000/edit#map=7/42.896/-75.108' [27] button '' [28] link 'History', url='http://10.141.10.6:3000/history#map=7/42.896/-75.108' [29] link 'Export', url='http://10.141.10.6:3000/export#map=7/42.896/-75.108' navigation '' list '' listitem '' [35] link 'GPS Traces', url='http://10.141.10.6:3000/traces' listitem '' [36] link 'User Diaries', url='http://10.141.10.6:3000/diary' listitem '' [37] link 'Communities', url='http://10.141.10.6:3000/communities' listitem '' [38] link 'Copyright', url='http://10.141.10.6:3000/copyright' listitem '' [39] link 'Help', url='http://10.141.10.6:3000/help' listitem '' [40] link 'About', url='http://10.141.10.6:3000/about' [30] link 'Log In', url='http://10.141.10.6:3000/login?referer=%2F#map=7/42.896/-75.108' [31] link 'Sign Up', url='http://10.141.10.6:3000/user/new' [1] button 'Close' image '', url='http://10.141.10.6:3000/assets/marker-green-a018589d7f15e3d24bdc172041b6edafa5fbb17aa951d4fec717fcb62361b7e1.png' [2] textbox 'From' image '', url='http://10.141.10.6:3000/assets/marker-red-839c3d7015788811f3e0d154b69599f099cf8235c036893c61f802ba1a6ccdac.png' [3] textbox 'To' [4] combobox '' value='Car (OSRM)', hasPopup='menu', expanded=False MenuListPopup '' [32] option 'Bicycle (OSRM)', selected=False [33] option 'Car (OSRM)', selected=True [34] option 'Foot (OSRM)', selected=False [5] button 'Go' [6] button 'Reverse Directions' heading 'Welcome to OpenStreetMap!' [7] button 'Close' paragraph '' StaticText 'OpenStreetMap is a map of the world, created by people like you and free to use under an open license.' paragraph '' StaticText 'Hosting is supported by' [21] link 'UCL', url='https://www.ucl.ac.uk/' StaticText ',' [22] link 'Fastly', url='https://www.fastly.com/' StaticText ',' [23] link 'Bytemark Hosting', url='https://www.bytemark.co.uk/' StaticText ', and other' [24] link 'partners', url='https://hardware.openstreetmap.org/thanks/' StaticText '.' [8] link 'Learn More', url='http://10.141.10.6:3000/about' [9] link 'Start Mapping', url='http://10.141.10.6:3000/user/new' image '', url='https://tile.openstreetmap.org/7/36/46.png' image '', url='https://tile.openstreetmap.org/7/37/46.png' image '', url='https://tile.openstreetmap.org/7/36/47.png' image '', url='https://tile.openstreetmap.org/7/37/47.png' image '', url='https://tile.openstreetmap.org/7/36/45.png' image '', url='https://tile.openstreetmap.org/7/37/45.png' image '', url='https://tile.openstreetmap.org/7/35/46.png' image '', url='https://tile.openstreetmap.org/7/38/46.png' image '', url='https://tile.openstreetmap.org/7/35/47.png' image '', url='https://tile.openstreetmap.org/7/38/47.png' image '', url='https://tile.openstreetmap.org/7/36/48.png' image '', url='https://tile.openstreetmap.org/7/37/48.png' image '', url='https://tile.openstreetmap.org/7/35/45.png' image '', url='https://tile.openstreetmap.org/7/38/45.png' image '', url='https://tile.openstreetmap.org/7/35/48.png' image '', url='https://tile.openstreetmap.org/7/38/48.png' image '', url='https://tile.openstreetmap.org/7/34/46.png' image '', url='https://tile.openstreetmap.org/7/39/46.png' image '', url='https://tile.openstreetmap.org/7/34/47.png' image '', url='https://tile.openstreetmap.org/7/39/47.png' image '', url='https://tile.openstreetmap.org/7/34/45.png' image '', url='https://tile.openstreetmap.org/7/39/45.png' image '', url='https://tile.openstreetmap.org/7/34/48.png' image '', url='https://tile.openstreetmap.org/7/39/48.png' [10] link 'Zoom In', url='http://10.141.10.6:3000/directions#' [11] link 'Zoom Out', url='http://10.141.10.6:3000/directions#' [12] button 'Show My Location' [13] link 'Layers', url='http://10.141.10.6:3000/directions#' [14] link '', url='http://10.141.10.6:3000/directions#' [15] link 'Share', url='http://10.141.10.6:3000/directions#' [16] link '', url='http://10.141.10.6:3000/directions#' [17] link '', url='http://10.141.10.6:3000/directions#' StaticText '50 km' StaticText '50 mi' StaticText '©' [18] link 'OpenStreetMap contributors', url='http://10.141.10.6:3000/copyright' StaticText '♥' [19] link 'Make a Donation', url='https://donate.openstreetmap.org/' StaticText '.' [20] link 'Website and API terms', url='https://wiki.osmfoundation.org/wiki/Terms_of_Use'
To calculate travel times between MIT → Harvard and MIT → Airport, we must first populate the “From” and “To” fields with the full institution names and then trigger the route calculation. The next step in the workflow is to set the “From” field to “Massachusetts Institute of Technology”.
fill('2', 'Massachusetts Institute of Technology', False)RootWebArea 'OpenStreetMap', focused, url='http://10.141.10.6:3000/directions' banner '' heading 'OpenStreetMap logo OpenStreetMap' [25] link 'OpenStreetMap logo OpenStreetMap', url='http://10.141.10.6:3000/#map=7/42.896/-75.108' image 'OpenStreetMap logo', url='http://10.141.10.6:3000/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg' navigation '' [26] link 'Edit', url='http://10.141.10.6:3000/edit#map=7/42.896/-75.108' [27] button '' [28] link 'History', url='http://10.141.10.6:3000/history#map=7/42.896/-75.108' [29] link 'Export', url='http://10.141.10.6:3000/export#map=7/42.896/-75.108' navigation '' list '' listitem '' [35] link 'GPS Traces', url='http://10.141.10.6:3000/traces' listitem '' [36] link 'User Diaries', url='http://10.141.10.6:3000/diary' listitem '' [37] link 'Communities', url='http://10.141.10.6:3000/communities' listitem '' [38] link 'Copyright', url='http://10.141.10.6:3000/copyright' listitem '' [39] link 'Help', url='http://10.141.10.6:3000/help' listitem '' [40] link 'About', url='http://10.141.10.6:3000/about' [30] link 'Log In', url='http://10.141.10.6:3000/login?referer=%2F#map=7/42.896/-75.108' [31] link 'Sign Up', url='http://10.141.10.6:3000/user/new' [1] button 'Close' image '', url='http://10.141.10.6:3000/assets/marker-green-a018589d7f15e3d24bdc172041b6edafa5fbb17aa951d4fec717fcb62361b7e1.png' [2] textbox 'From' value='Massachusetts Institute of Technology', focused StaticText 'Massachusetts Institute of Technology' image '', url='http://10.141.10.6:3000/assets/marker-red-839c3d7015788811f3e0d154b69599f099cf8235c036893c61f802ba1a6ccdac.png' [3] textbox 'To' [4] combobox '' value='Car (OSRM)', hasPopup='menu', expanded=False MenuListPopup '' [32] option 'Bicycle (OSRM)', selected=False [33] option 'Car (OSRM)', selected=True [34] option 'Foot (OSRM)', selected=False [5] button 'Go' [6] button 'Reverse Directions' heading 'Welcome to OpenStreetMap!' [7] button 'Close' paragraph '' StaticText 'OpenStreetMap is a map of the world, created by people like you and free to use under an open license.' paragraph '' StaticText 'Hosting is supported by' [21] link 'UCL', url='https://www.ucl.ac.uk/' StaticText ',' [22] link 'Fastly', url='https://www.fastly.com/' StaticText ',' [23] link 'Bytemark Hosting', url='https://www.bytemark.co.uk/' StaticText ', and other' [24] link 'partners', url='https://hardware.openstreetmap.org/thanks/' StaticText '.' [8] link 'Learn More', url='http://10.141.10.6:3000/about' [9] link 'Start Mapping', url='http://10.141.10.6:3000/user/new' image '', url='https://tile.openstreetmap.org/7/36/46.png' image '', url='https://tile.openstreetmap.org/7/37/46.png' image '', url='https://tile.openstreetmap.org/7/36/47.png' image '', url='https://tile.openstreetmap.org/7/37/47.png' image '', url='https://tile.openstreetmap.org/7/36/45.png' image '', url='https://tile.openstreetmap.org/7/37/45.png' image '', url='https://tile.openstreetmap.org/7/35/46.png' image '', url='https://tile.openstreetmap.org/7/38/46.png' image '', url='https://tile.openstreetmap.org/7/35/47.png' image '', url='https://tile.openstreetmap.org/7/38/47.png' image '', url='https://tile.openstreetmap.org/7/36/48.png' image '', url='https://tile.openstreetmap.org/7/37/48.png' image '', url='https://tile.openstreetmap.org/7/35/45.png' image '', url='https://tile.openstreetmap.org/7/38/45.png' image '', url='https://tile.openstreetmap.org/7/35/48.png' image '', url='https://tile.openstreetmap.org/7/38/48.png' image '', url='https://tile.openstreetmap.org/7/34/46.png' image '', url='https://tile.openstreetmap.org/7/39/46.png' image '', url='https://tile.openstreetmap.org/7/34/47.png' image '', url='https://tile.openstreetmap.org/7/39/47.png' image '', url='https://tile.openstreetmap.org/7/34/45.png' image '', url='https://tile.openstreetmap.org/7/39/45.png' image '', url='https://tile.openstreetmap.org/7/34/48.png' image '', url='https://tile.openstreetmap.org/7/39/48.png' [10] link 'Zoom In', url='http://10.141.10.6:3000/directions#' [11] link 'Zoom Out', url='http://10.141.10.6:3000/directions#' [12] button 'Show My Location' [13] link 'Layers', url='http://10.141.10.6:3000/directions#' [14] link '', url='http://10.141.10.6:3000/directions#' [15] link 'Share', url='http://10.141.10.6:3000/directions#' [16] link '', url='http://10.141.10.6:3000/directions#' [17] link '', url='http://10.141.10.6:3000/directions#' StaticText '50 km' StaticText '50 mi' StaticText '©' [18] link 'OpenStreetMap contributors', url='http://10.141.10.6:3000/copyright' StaticText '♥' [19] link 'Make a Donation', url='https://donate.openstreetmap.org/' StaticText '.' [20] link 'Website and API terms', url='https://wiki.osmfoundation.org/wiki/Terms_of_Use'
To confirm the optimal route we need the car travel times between each pair of locations. - MIT → Harvard and Harvard → Logan Airport travel times are the relevant segments for the route that visits all three sites. - Computing these times on the directions page provides accurate, up‑to‑date values that can be compared against the direct MIT → Logan Airport route.
fill('3', 'Harvard University', False)RootWebArea 'OpenStreetMap', focused, url='http://10.141.10.6:3000/directions' banner '' heading 'OpenStreetMap logo OpenStreetMap' [26] link 'OpenStreetMap logo OpenStreetMap', url='http://10.141.10.6:3000/#map=7/42.896/-75.108' image 'OpenStreetMap logo', url='http://10.141.10.6:3000/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg' navigation '' [27] link 'Edit', url='http://10.141.10.6:3000/edit#map=7/42.896/-75.108' [28] button '' [29] link 'History', url='http://10.141.10.6:3000/history#map=7/42.896/-75.108' [30] link 'Export', url='http://10.141.10.6:3000/export#map=7/42.896/-75.108' navigation '' list '' listitem '' [36] link 'GPS Traces', url='http://10.141.10.6:3000/traces' listitem '' [37] link 'User Diaries', url='http://10.141.10.6:3000/diary' listitem '' [38] link 'Communities', url='http://10.141.10.6:3000/communities' listitem '' [39] link 'Copyright', url='http://10.141.10.6:3000/copyright' listitem '' [40] link 'Help', url='http://10.141.10.6:3000/help' listitem '' [41] link 'About', url='http://10.141.10.6:3000/about' [31] link 'Log In', url='http://10.141.10.6:3000/login?referer=%2F#map=7/42.896/-75.108' [32] link 'Sign Up', url='http://10.141.10.6:3000/user/new' [1] button 'Close' image '', url='http://10.141.10.6:3000/assets/marker-green-a018589d7f15e3d24bdc172041b6edafa5fbb17aa951d4fec717fcb62361b7e1.png' [2] textbox 'From' value='Massachusetts Institute of Technology, Allston Street, Cambridgeport, Cambridge, Middlesex County, Massachusetts, 02139, United States' StaticText 'Massachusetts Institute of Technology, Allston Street, Cambridgeport, Cambridge, Middlesex County, Massachusetts, 02139, United States' image '', url='http://10.141.10.6:3000/assets/marker-red-839c3d7015788811f3e0d154b69599f099cf8235c036893c61f802ba1a6ccdac.png' [3] textbox 'To' value='Harvard University', focused StaticText 'Harvard University' [4] combobox '' value='Car (OSRM)', hasPopup='menu', expanded=False MenuListPopup '' [33] option 'Bicycle (OSRM)', selected=False [34] option 'Car (OSRM)', selected=True [35] option 'Foot (OSRM)', selected=False [5] button 'Go' [6] button 'Reverse Directions' heading 'Welcome to OpenStreetMap!' [7] button 'Close' paragraph '' StaticText 'OpenStreetMap is a map of the world, created by people like you and free to use under an open license.' paragraph '' StaticText 'Hosting is supported by' [22] link 'UCL', url='https://www.ucl.ac.uk/' StaticText ',' [23] link 'Fastly', url='https://www.fastly.com/' StaticText ',' [24] link 'Bytemark Hosting', url='https://www.bytemark.co.uk/' StaticText ', and other' [25] link 'partners', url='https://hardware.openstreetmap.org/thanks/' StaticText '.' [8] link 'Learn More', url='http://10.141.10.6:3000/about' [9] link 'Start Mapping', url='http://10.141.10.6:3000/user/new' image '', url='https://tile.openstreetmap.org/7/36/46.png' image '', url='https://tile.openstreetmap.org/7/37/46.png' image '', url='https://tile.openstreetmap.org/7/36/47.png' image '', url='https://tile.openstreetmap.org/7/37/47.png' image '', url='https://tile.openstreetmap.org/7/36/45.png' image '', url='https://tile.openstreetmap.org/7/37/45.png' image '', url='https://tile.openstreetmap.org/7/35/46.png' image '', url='https://tile.openstreetmap.org/7/38/46.png' image '', url='https://tile.openstreetmap.org/7/35/47.png' image '', url='https://tile.openstreetmap.org/7/38/47.png' image '', url='https://tile.openstreetmap.org/7/36/48.png' image '', url='https://tile.openstreetmap.org/7/37/48.png' image '', url='https://tile.openstreetmap.org/7/35/45.png' image '', url='https://tile.openstreetmap.org/7/38/45.png' image '', url='https://tile.openstreetmap.org/7/35/48.png' image '', url='https://tile.openstreetmap.org/7/38/48.png' image '', url='https://tile.openstreetmap.org/7/34/46.png' image '', url='https://tile.openstreetmap.org/7/39/46.png' image '', url='https://tile.openstreetmap.org/7/34/47.png' image '', url='https://tile.openstreetmap.org/7/39/47.png' image '', url='https://tile.openstreetmap.org/7/34/45.png' image '', url='https://tile.openstreetmap.org/7/39/45.png' image '', url='https://tile.openstreetmap.org/7/34/48.png' image '', url='https://tile.openstreetmap.org/7/39/48.png' image '', url='http://10.141.10.6:3000/assets/leaflet/dist/images/marker-shadow-a2d94406ba198f61f68a71ed8f9f9c701122c0c33b775d990edceae4aece567f.png' [10] button 'Marker' [11] link 'Zoom In', url='http://10.141.10.6:3000/directions#' [12] link 'Zoom Out', url='http://10.141.10.6:3000/directions#' [13] button 'Show My Location' [14] link 'Layers', url='http://10.141.10.6:3000/directions#' [15] link '', url='http://10.141.10.6:3000/directions#' [16] link 'Share', url='http://10.141.10.6:3000/directions#' [17] link '', url='http://10.141.10.6:3000/directions#' [18] link '', url='http://10.141.10.6:3000/directions#' StaticText '50 km' StaticText '50 mi' StaticText '©' [19] link 'OpenStreetMap contributors', url='http://10.141.10.6:3000/copyright' StaticText '♥' [20] link 'Make a Donation', url='https://donate.openstreetmap.org/' StaticText '.' [21] link 'Website and API terms', url='https://wiki.osmfoundation.org/wiki/Terms_of_Use'
We have not yet triggered the calculation of the MIT‑Harvard travel time. Obtaining this data is essential to compare against other possible routes. No other needed interactions are on this page, so the next step is to click the “Go” button.
click('5')RootWebArea 'OpenStreetMap', focused, url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.358%2C-71.097%3B42.368%2C-71.127#map=15/42.3609/-71.1126' banner '' heading 'OpenStreetMap logo OpenStreetMap' [22] link 'OpenStreetMap logo OpenStreetMap', url='http://10.141.10.6:3000/#map=15/42.3609/-71.1126' image 'OpenStreetMap logo', url='http://10.141.10.6:3000/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg' navigation '' [23] link 'Edit', url='http://10.141.10.6:3000/edit#map=15/42.3609/-71.1126' [24] button '' [25] link 'History', url='http://10.141.10.6:3000/history#map=15/42.3609/-71.1126' [26] link 'Export', url='http://10.141.10.6:3000/export#map=15/42.3609/-71.1126' navigation '' list '' listitem '' [32] link 'GPS Traces', url='http://10.141.10.6:3000/traces' listitem '' [33] link 'User Diaries', url='http://10.141.10.6:3000/diary' listitem '' [34] link 'Communities', url='http://10.141.10.6:3000/communities' listitem '' [35] link 'Copyright', url='http://10.141.10.6:3000/copyright' listitem '' [36] link 'Help', url='http://10.141.10.6:3000/help' listitem '' [37] link 'About', url='http://10.141.10.6:3000/about' [27] link 'Log In', url='http://10.141.10.6:3000/login?referer=%2F#map=15/42.3609/-71.1126' [28] link 'Sign Up', url='http://10.141.10.6:3000/user/new' [1] button 'Close' image '', url='http://10.141.10.6:3000/assets/marker-green-a018589d7f15e3d24bdc172041b6edafa5fbb17aa951d4fec717fcb62361b7e1.png' [2] textbox 'From' value='Massachusetts Institute of Technology, Allston Street, Cambridgeport, Cambridge, Middlesex County, Massachusetts, 02139, United States' StaticText 'Massachusetts Institute of Technology, Allston Street, Cambridgeport, Cambridge, Middlesex County, Massachusetts, 02139, United States' image '', url='http://10.141.10.6:3000/assets/marker-red-839c3d7015788811f3e0d154b69599f099cf8235c036893c61f802ba1a6ccdac.png' [3] textbox 'To' value='Harvard University, Hurlbut Street, Avon Hill, Cambridge, Middlesex County, Massachusetts, 02138, United States' StaticText 'Harvard University, Hurlbut Street, Avon Hill, Cambridge, Middlesex County, Massachusetts, 02138, United States' [4] combobox '' value='Car (OSRM)', hasPopup='menu', expanded=False MenuListPopup '' [29] option 'Bicycle (OSRM)', selected=False [30] option 'Car (OSRM)', selected=True [31] option 'Foot (OSRM)', selected=False [5] button 'Go', focused [6] button 'Reverse Directions' heading 'Directions' [7] button 'Close' paragraph '' StaticText 'Distance: 4.4km. Time: 0:07.' table '' row '' cell '' cell '1. Start on Vassar Street' cell '1000m' row '' cell '' cell '2. At the end of the road turn right onto Memorial Drive (US 3)' cell '1.6km' row '' cell '' cell '3. Turn left onto Western Avenue' cell '150m' row '' cell '' cell '4. Turn right onto the ramp towards Newton, Arlington' cell '200m' row '' cell '' cell '5. Merge left onto Soldiers Field Road' cell '400m' row '' cell '' cell '6. Take the ramp on the right towards Harvard Square, Cambridge' cell '200m' row '' cell '' cell '7. Turn left onto North Harvard Street' cell '400m' row '' cell '' cell '8. Turn right onto unnamed road' cell '300m' row '' cell '' cell '9. Turn right onto unnamed road' cell '90m' row '' cell '' cell '10. Reach destination' cell '' paragraph '' StaticText 'Directions courtesy of' [21] link 'OSRM (FOSSGIS)', url='https://routing.openstreetmap.de/about.html' image '', url='https://tile.openstreetmap.org/15/9910/12119.png' image '', url='https://tile.openstreetmap.org/15/9911/12119.png' image '', url='https://tile.openstreetmap.org/15/9910/12120.png' image '', url='https://tile.openstreetmap.org/15/9911/12120.png' image '', url='https://tile.openstreetmap.org/15/9910/12118.png' image '', url='https://tile.openstreetmap.org/15/9911/12118.png' image '', url='https://tile.openstreetmap.org/15/9909/12119.png' image '', url='https://tile.openstreetmap.org/15/9912/12119.png' image '', url='https://tile.openstreetmap.org/15/9909/12120.png' image '', url='https://tile.openstreetmap.org/15/9912/12120.png' image '', url='https://tile.openstreetmap.org/15/9910/12121.png' image '', url='https://tile.openstreetmap.org/15/9911/12121.png' image '', url='https://tile.openstreetmap.org/15/9909/12118.png' image '', url='https://tile.openstreetmap.org/15/9912/12118.png' image '', url='https://tile.openstreetmap.org/15/9909/12121.png' image '', url='https://tile.openstreetmap.org/15/9912/12121.png' image '', url='http://10.141.10.6:3000/assets/leaflet/dist/images/marker-shadow-a2d94406ba198f61f68a71ed8f9f9c701122c0c33b775d990edceae4aece567f.png' image '', url='http://10.141.10.6:3000/assets/leaflet/dist/images/marker-shadow-a2d94406ba198f61f68a71ed8f9f9c701122c0c33b775d990edceae4aece567f.png' [8] button 'Marker' [9] button 'Marker' [10] link 'Zoom In', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.358%2C-71.097%3B42.368%2C-71.127#' [11] link 'Zoom Out', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.358%2C-71.097%3B42.368%2C-71.127#' [12] button 'Show My Location' [13] link 'Layers', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.358%2C-71.097%3B42.368%2C-71.127#' [14] link '', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.358%2C-71.097%3B42.368%2C-71.127#' [15] link 'Share', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.358%2C-71.097%3B42.368%2C-71.127#' [16] link '', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.358%2C-71.097%3B42.368%2C-71.127#' [17] link '', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.358%2C-71.097%3B42.368%2C-71.127#' StaticText '300 m' StaticText '1000 ft' StaticText '©' [18] link 'OpenStreetMap contributors', url='http://10.141.10.6:3000/copyright' StaticText '♥' [19] link 'Make a Donation', url='https://donate.openstreetmap.org/' StaticText '.' [20] link 'Website and API terms', url='https://wiki.osmfoundation.org/wiki/Terms_of_Use'
Jump Action
[B]goto('http://10.141.10.6:3000/directions')RootWebArea 'OpenStreetMap', focused, url='http://10.141.10.6:3000/directions' banner '' heading 'OpenStreetMap logo OpenStreetMap' [25] link 'OpenStreetMap logo OpenStreetMap', url='http://10.141.10.6:3000/#map=7/42.896/-75.108' image 'OpenStreetMap logo', url='http://10.141.10.6:3000/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg' navigation '' [26] link 'Edit', url='http://10.141.10.6:3000/edit#map=7/42.896/-75.108' [27] button '' [28] link 'History', url='http://10.141.10.6:3000/history#map=7/42.896/-75.108' [29] link 'Export', url='http://10.141.10.6:3000/export#map=7/42.896/-75.108' navigation '' list '' listitem '' [35] link 'GPS Traces', url='http://10.141.10.6:3000/traces' listitem '' [36] link 'User Diaries', url='http://10.141.10.6:3000/diary' listitem '' [37] link 'Communities', url='http://10.141.10.6:3000/communities' listitem '' [38] link 'Copyright', url='http://10.141.10.6:3000/copyright' listitem '' [39] link 'Help', url='http://10.141.10.6:3000/help' listitem '' [40] link 'About', url='http://10.141.10.6:3000/about' [30] link 'Log In', url='http://10.141.10.6:3000/login?referer=%2Fdirections#map=7/42.896/-75.108' [31] link 'Sign Up', url='http://10.141.10.6:3000/user/new' [1] button 'Close' image '', url='http://10.141.10.6:3000/assets/marker-green-a018589d7f15e3d24bdc172041b6edafa5fbb17aa951d4fec717fcb62361b7e1.png' [2] textbox 'From' image '', url='http://10.141.10.6:3000/assets/marker-red-839c3d7015788811f3e0d154b69599f099cf8235c036893c61f802ba1a6ccdac.png' [3] textbox 'To' [4] combobox '' value='Car (OSRM)', hasPopup='menu', expanded=False MenuListPopup '' [32] option 'Bicycle (OSRM)', selected=False [33] option 'Car (OSRM)', selected=True [34] option 'Foot (OSRM)', selected=False [5] button 'Go' [6] button 'Reverse Directions' heading 'Welcome to OpenStreetMap!' [7] button 'Close' paragraph '' StaticText 'OpenStreetMap is a map of the world, created by people like you and free to use under an open license.' paragraph '' StaticText 'Hosting is supported by' [21] link 'UCL', url='https://www.ucl.ac.uk/' StaticText ',' [22] link 'Fastly', url='https://www.fastly.com/' StaticText ',' [23] link 'Bytemark Hosting', url='https://www.bytemark.co.uk/' StaticText ', and other' [24] link 'partners', url='https://hardware.openstreetmap.org/thanks/' StaticText '.' [8] link 'Learn More', url='http://10.141.10.6:3000/about' [9] link 'Start Mapping', url='http://10.141.10.6:3000/user/new' image '', url='https://tile.openstreetmap.org/7/36/46.png' image '', url='https://tile.openstreetmap.org/7/37/46.png' image '', url='https://tile.openstreetmap.org/7/36/47.png' image '', url='https://tile.openstreetmap.org/7/37/47.png' image '', url='https://tile.openstreetmap.org/7/36/45.png' image '', url='https://tile.openstreetmap.org/7/37/45.png' image '', url='https://tile.openstreetmap.org/7/35/46.png' image '', url='https://tile.openstreetmap.org/7/38/46.png' image '', url='https://tile.openstreetmap.org/7/35/47.png' image '', url='https://tile.openstreetmap.org/7/38/47.png' image '', url='https://tile.openstreetmap.org/7/36/48.png' image '', url='https://tile.openstreetmap.org/7/37/48.png' image '', url='https://tile.openstreetmap.org/7/35/45.png' image '', url='https://tile.openstreetmap.org/7/38/45.png' image '', url='https://tile.openstreetmap.org/7/35/48.png' image '', url='https://tile.openstreetmap.org/7/38/48.png' image '', url='https://tile.openstreetmap.org/7/34/46.png' image '', url='https://tile.openstreetmap.org/7/39/46.png' image '', url='https://tile.openstreetmap.org/7/34/47.png' image '', url='https://tile.openstreetmap.org/7/39/47.png' image '', url='https://tile.openstreetmap.org/7/34/45.png' image '', url='https://tile.openstreetmap.org/7/39/45.png' image '', url='https://tile.openstreetmap.org/7/34/48.png' image '', url='https://tile.openstreetmap.org/7/39/48.png' [10] link 'Zoom In', url='http://10.141.10.6:3000/directions#' [11] link 'Zoom Out', url='http://10.141.10.6:3000/directions#' [12] button 'Show My Location' [13] link 'Layers', url='http://10.141.10.6:3000/directions#' [14] link '', url='http://10.141.10.6:3000/directions#' [15] link 'Share', url='http://10.141.10.6:3000/directions#' [16] link '', url='http://10.141.10.6:3000/directions#' [17] link '', url='http://10.141.10.6:3000/directions#' StaticText '50 km' StaticText '50 mi' StaticText '©' [18] link 'OpenStreetMap contributors', url='http://10.141.10.6:3000/copyright' StaticText '♥' [19] link 'Make a Donation', url='https://donate.openstreetmap.org/' StaticText '.' [20] link 'Website and API terms', url='https://wiki.osmfoundation.org/wiki/Terms_of_Use'
To calculate travel times between MIT → Harvard and MIT → Airport, we must first populate the “From” and “To” fields with the full institution names and then trigger the route calculation. The next step in the workflow is to set the “From” field to “Massachusetts Institute of Technology”.
[B]fill('2', 'Massachusetts Institute of Technology', False)RootWebArea 'OpenStreetMap', focused, url='http://10.141.10.6:3000/directions' banner '' heading 'OpenStreetMap logo OpenStreetMap' [25] link 'OpenStreetMap logo OpenStreetMap', url='http://10.141.10.6:3000/#map=7/42.896/-75.108' image 'OpenStreetMap logo', url='http://10.141.10.6:3000/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg' navigation '' [26] link 'Edit', url='http://10.141.10.6:3000/edit#map=7/42.896/-75.108' [27] button '' [28] link 'History', url='http://10.141.10.6:3000/history#map=7/42.896/-75.108' [29] link 'Export', url='http://10.141.10.6:3000/export#map=7/42.896/-75.108' navigation '' list '' listitem '' [35] link 'GPS Traces', url='http://10.141.10.6:3000/traces' listitem '' [36] link 'User Diaries', url='http://10.141.10.6:3000/diary' listitem '' [37] link 'Communities', url='http://10.141.10.6:3000/communities' listitem '' [38] link 'Copyright', url='http://10.141.10.6:3000/copyright' listitem '' [39] link 'Help', url='http://10.141.10.6:3000/help' listitem '' [40] link 'About', url='http://10.141.10.6:3000/about' [30] link 'Log In', url='http://10.141.10.6:3000/login?referer=%2Fdirections#map=7/42.896/-75.108' [31] link 'Sign Up', url='http://10.141.10.6:3000/user/new' [1] button 'Close' image '', url='http://10.141.10.6:3000/assets/marker-green-a018589d7f15e3d24bdc172041b6edafa5fbb17aa951d4fec717fcb62361b7e1.png' [2] textbox 'From' value='Massachusetts Institute of Technology', focused StaticText 'Massachusetts Institute of Technology' image '', url='http://10.141.10.6:3000/assets/marker-red-839c3d7015788811f3e0d154b69599f099cf8235c036893c61f802ba1a6ccdac.png' [3] textbox 'To' [4] combobox '' value='Car (OSRM)', hasPopup='menu', expanded=False MenuListPopup '' [32] option 'Bicycle (OSRM)', selected=False [33] option 'Car (OSRM)', selected=True [34] option 'Foot (OSRM)', selected=False [5] button 'Go' [6] button 'Reverse Directions' heading 'Welcome to OpenStreetMap!' [7] button 'Close' paragraph '' StaticText 'OpenStreetMap is a map of the world, created by people like you and free to use under an open license.' paragraph '' StaticText 'Hosting is supported by' [21] link 'UCL', url='https://www.ucl.ac.uk/' StaticText ',' [22] link 'Fastly', url='https://www.fastly.com/' StaticText ',' [23] link 'Bytemark Hosting', url='https://www.bytemark.co.uk/' StaticText ', and other' [24] link 'partners', url='https://hardware.openstreetmap.org/thanks/' StaticText '.' [8] link 'Learn More', url='http://10.141.10.6:3000/about' [9] link 'Start Mapping', url='http://10.141.10.6:3000/user/new' image '', url='https://tile.openstreetmap.org/7/36/46.png' image '', url='https://tile.openstreetmap.org/7/37/46.png' image '', url='https://tile.openstreetmap.org/7/36/47.png' image '', url='https://tile.openstreetmap.org/7/37/47.png' image '', url='https://tile.openstreetmap.org/7/36/45.png' image '', url='https://tile.openstreetmap.org/7/37/45.png' image '', url='https://tile.openstreetmap.org/7/35/46.png' image '', url='https://tile.openstreetmap.org/7/38/46.png' image '', url='https://tile.openstreetmap.org/7/35/47.png' image '', url='https://tile.openstreetmap.org/7/38/47.png' image '', url='https://tile.openstreetmap.org/7/36/48.png' image '', url='https://tile.openstreetmap.org/7/37/48.png' image '', url='https://tile.openstreetmap.org/7/35/45.png' image '', url='https://tile.openstreetmap.org/7/38/45.png' image '', url='https://tile.openstreetmap.org/7/35/48.png' image '', url='https://tile.openstreetmap.org/7/38/48.png' image '', url='https://tile.openstreetmap.org/7/34/46.png' image '', url='https://tile.openstreetmap.org/7/39/46.png' image '', url='https://tile.openstreetmap.org/7/34/47.png' image '', url='https://tile.openstreetmap.org/7/39/47.png' image '', url='https://tile.openstreetmap.org/7/34/45.png' image '', url='https://tile.openstreetmap.org/7/39/45.png' image '', url='https://tile.openstreetmap.org/7/34/48.png' image '', url='https://tile.openstreetmap.org/7/39/48.png' [10] link 'Zoom In', url='http://10.141.10.6:3000/directions#' [11] link 'Zoom Out', url='http://10.141.10.6:3000/directions#' [12] button 'Show My Location' [13] link 'Layers', url='http://10.141.10.6:3000/directions#' [14] link '', url='http://10.141.10.6:3000/directions#' [15] link 'Share', url='http://10.141.10.6:3000/directions#' [16] link '', url='http://10.141.10.6:3000/directions#' [17] link '', url='http://10.141.10.6:3000/directions#' StaticText '50 km' StaticText '50 mi' StaticText '©' [18] link 'OpenStreetMap contributors', url='http://10.141.10.6:3000/copyright' StaticText '♥' [19] link 'Make a Donation', url='https://donate.openstreetmap.org/' StaticText '.' [20] link 'Website and API terms', url='https://wiki.osmfoundation.org/wiki/Terms_of_Use'
To determine the optimal sequence, we need the travel times for all pairwise paths: - MIT → Harvard University - MIT → Boston Logan International Airport - Harvard University → Boston Logan International Airport - Boston Logan International Airport → Harvard University The optimal route will be the one that results in the smallest total travel time. Computing the times manually using approximate road distances (MIT–Harvard ≈ 2 mi, MIT–Logan ≈ 5 mi, Harvard–Logan ≈ 3 mi) indicates that the sequence MIT → Harvard → Logan minimizes the overall time. To verify, we can execute route calculations on the OSM directions interface for each leg.
click('5')RootWebArea 'OpenStreetMap', focused, url='http://10.141.10.6:3000/directions' banner '' heading 'OpenStreetMap logo OpenStreetMap' [26] link 'OpenStreetMap logo OpenStreetMap', url='http://10.141.10.6:3000/#map=7/42.896/-75.108' image 'OpenStreetMap logo', url='http://10.141.10.6:3000/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg' navigation '' [27] link 'Edit', url='http://10.141.10.6:3000/edit#map=7/42.896/-75.108' [28] button '' [29] link 'History', url='http://10.141.10.6:3000/history#map=7/42.896/-75.108' [30] link 'Export', url='http://10.141.10.6:3000/export#map=7/42.896/-75.108' navigation '' list '' listitem '' [36] link 'GPS Traces', url='http://10.141.10.6:3000/traces' listitem '' [37] link 'User Diaries', url='http://10.141.10.6:3000/diary' listitem '' [38] link 'Communities', url='http://10.141.10.6:3000/communities' listitem '' [39] link 'Copyright', url='http://10.141.10.6:3000/copyright' listitem '' [40] link 'Help', url='http://10.141.10.6:3000/help' listitem '' [41] link 'About', url='http://10.141.10.6:3000/about' [31] link 'Log In', url='http://10.141.10.6:3000/login?referer=%2Fdirections#map=7/42.896/-75.108' [32] link 'Sign Up', url='http://10.141.10.6:3000/user/new' [1] button 'Close' image '', url='http://10.141.10.6:3000/assets/marker-green-a018589d7f15e3d24bdc172041b6edafa5fbb17aa951d4fec717fcb62361b7e1.png' [2] textbox 'From' value='Massachusetts Institute of Technology, Allston Street, Cambridgeport, Cambridge, Middlesex County, Massachusetts, 02139, United States' StaticText 'Massachusetts Institute of Technology, Allston Street, Cambridgeport, Cambridge, Middlesex County, Massachusetts, 02139, United States' image '', url='http://10.141.10.6:3000/assets/marker-red-839c3d7015788811f3e0d154b69599f099cf8235c036893c61f802ba1a6ccdac.png' [3] textbox 'To' [4] combobox '' value='Car (OSRM)', hasPopup='menu', expanded=False MenuListPopup '' [33] option 'Bicycle (OSRM)', selected=False [34] option 'Car (OSRM)', selected=True [35] option 'Foot (OSRM)', selected=False [5] button 'Go', focused [6] button 'Reverse Directions' heading 'Welcome to OpenStreetMap!' [7] button 'Close' paragraph '' StaticText 'OpenStreetMap is a map of the world, created by people like you and free to use under an open license.' paragraph '' StaticText 'Hosting is supported by' [22] link 'UCL', url='https://www.ucl.ac.uk/' StaticText ',' [23] link 'Fastly', url='https://www.fastly.com/' StaticText ',' [24] link 'Bytemark Hosting', url='https://www.bytemark.co.uk/' StaticText ', and other' [25] link 'partners', url='https://hardware.openstreetmap.org/thanks/' StaticText '.' [8] link 'Learn More', url='http://10.141.10.6:3000/about' [9] link 'Start Mapping', url='http://10.141.10.6:3000/user/new' image '', url='https://tile.openstreetmap.org/7/36/46.png' image '', url='https://tile.openstreetmap.org/7/37/46.png' image '', url='https://tile.openstreetmap.org/7/36/47.png' image '', url='https://tile.openstreetmap.org/7/37/47.png' image '', url='https://tile.openstreetmap.org/7/36/45.png' image '', url='https://tile.openstreetmap.org/7/37/45.png' image '', url='https://tile.openstreetmap.org/7/35/46.png' image '', url='https://tile.openstreetmap.org/7/38/46.png' image '', url='https://tile.openstreetmap.org/7/35/47.png' image '', url='https://tile.openstreetmap.org/7/38/47.png' image '', url='https://tile.openstreetmap.org/7/36/48.png' image '', url='https://tile.openstreetmap.org/7/37/48.png' image '', url='https://tile.openstreetmap.org/7/35/45.png' image '', url='https://tile.openstreetmap.org/7/38/45.png' image '', url='https://tile.openstreetmap.org/7/35/48.png' image '', url='https://tile.openstreetmap.org/7/38/48.png' image '', url='https://tile.openstreetmap.org/7/34/46.png' image '', url='https://tile.openstreetmap.org/7/39/46.png' image '', url='https://tile.openstreetmap.org/7/34/47.png' image '', url='https://tile.openstreetmap.org/7/39/47.png' image '', url='https://tile.openstreetmap.org/7/34/45.png' image '', url='https://tile.openstreetmap.org/7/39/45.png' image '', url='https://tile.openstreetmap.org/7/34/48.png' image '', url='https://tile.openstreetmap.org/7/39/48.png' image '', url='http://10.141.10.6:3000/assets/leaflet/dist/images/marker-shadow-a2d94406ba198f61f68a71ed8f9f9c701122c0c33b775d990edceae4aece567f.png' [10] button 'Marker' [11] link 'Zoom In', url='http://10.141.10.6:3000/directions#' [12] link 'Zoom Out', url='http://10.141.10.6:3000/directions#' [13] button 'Show My Location' [14] link 'Layers', url='http://10.141.10.6:3000/directions#' [15] link '', url='http://10.141.10.6:3000/directions#' [16] link 'Share', url='http://10.141.10.6:3000/directions#' [17] link '', url='http://10.141.10.6:3000/directions#' [18] link '', url='http://10.141.10.6:3000/directions#' StaticText '50 km' StaticText '50 mi' StaticText '©' [19] link 'OpenStreetMap contributors', url='http://10.141.10.6:3000/copyright' StaticText '♥' [20] link 'Make a Donation', url='https://donate.openstreetmap.org/' StaticText '.' [21] link 'Website and API terms', url='https://wiki.osmfoundation.org/wiki/Terms_of_Use'
To obtain the MIT → Harvard travel time, the “To” field must specify Harvard University before the route is computed. The next logical step is to enter this destination into the To textbox. After this, the user can click “Go” to retrieve the route details.
fill('3', 'Harvard University', False)RootWebArea 'OpenStreetMap', focused, url='http://10.141.10.6:3000/directions' banner '' heading 'OpenStreetMap logo OpenStreetMap' [26] link 'OpenStreetMap logo OpenStreetMap', url='http://10.141.10.6:3000/#map=7/42.896/-75.108' image 'OpenStreetMap logo', url='http://10.141.10.6:3000/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg' navigation '' [27] link 'Edit', url='http://10.141.10.6:3000/edit#map=7/42.896/-75.108' [28] button '' [29] link 'History', url='http://10.141.10.6:3000/history#map=7/42.896/-75.108' [30] link 'Export', url='http://10.141.10.6:3000/export#map=7/42.896/-75.108' navigation '' list '' listitem '' [36] link 'GPS Traces', url='http://10.141.10.6:3000/traces' listitem '' [37] link 'User Diaries', url='http://10.141.10.6:3000/diary' listitem '' [38] link 'Communities', url='http://10.141.10.6:3000/communities' listitem '' [39] link 'Copyright', url='http://10.141.10.6:3000/copyright' listitem '' [40] link 'Help', url='http://10.141.10.6:3000/help' listitem '' [41] link 'About', url='http://10.141.10.6:3000/about' [31] link 'Log In', url='http://10.141.10.6:3000/login?referer=%2Fdirections#map=7/42.896/-75.108' [32] link 'Sign Up', url='http://10.141.10.6:3000/user/new' [1] button 'Close' image '', url='http://10.141.10.6:3000/assets/marker-green-a018589d7f15e3d24bdc172041b6edafa5fbb17aa951d4fec717fcb62361b7e1.png' [2] textbox 'From' value='Massachusetts Institute of Technology, Allston Street, Cambridgeport, Cambridge, Middlesex County, Massachusetts, 02139, United States' StaticText 'Massachusetts Institute of Technology, Allston Street, Cambridgeport, Cambridge, Middlesex County, Massachusetts, 02139, United States' image '', url='http://10.141.10.6:3000/assets/marker-red-839c3d7015788811f3e0d154b69599f099cf8235c036893c61f802ba1a6ccdac.png' [3] textbox 'To' value='Harvard University', focused StaticText 'Harvard University' [4] combobox '' value='Car (OSRM)', hasPopup='menu', expanded=False MenuListPopup '' [33] option 'Bicycle (OSRM)', selected=False [34] option 'Car (OSRM)', selected=True [35] option 'Foot (OSRM)', selected=False [5] button 'Go' [6] button 'Reverse Directions' heading 'Welcome to OpenStreetMap!' [7] button 'Close' paragraph '' StaticText 'OpenStreetMap is a map of the world, created by people like you and free to use under an open license.' paragraph '' StaticText 'Hosting is supported by' [22] link 'UCL', url='https://www.ucl.ac.uk/' StaticText ',' [23] link 'Fastly', url='https://www.fastly.com/' StaticText ',' [24] link 'Bytemark Hosting', url='https://www.bytemark.co.uk/' StaticText ', and other' [25] link 'partners', url='https://hardware.openstreetmap.org/thanks/' StaticText '.' [8] link 'Learn More', url='http://10.141.10.6:3000/about' [9] link 'Start Mapping', url='http://10.141.10.6:3000/user/new' image '', url='https://tile.openstreetmap.org/7/36/46.png' image '', url='https://tile.openstreetmap.org/7/37/46.png' image '', url='https://tile.openstreetmap.org/7/36/47.png' image '', url='https://tile.openstreetmap.org/7/37/47.png' image '', url='https://tile.openstreetmap.org/7/36/45.png' image '', url='https://tile.openstreetmap.org/7/37/45.png' image '', url='https://tile.openstreetmap.org/7/35/46.png' image '', url='https://tile.openstreetmap.org/7/38/46.png' image '', url='https://tile.openstreetmap.org/7/35/47.png' image '', url='https://tile.openstreetmap.org/7/38/47.png' image '', url='https://tile.openstreetmap.org/7/36/48.png' image '', url='https://tile.openstreetmap.org/7/37/48.png' image '', url='https://tile.openstreetmap.org/7/35/45.png' image '', url='https://tile.openstreetmap.org/7/38/45.png' image '', url='https://tile.openstreetmap.org/7/35/48.png' image '', url='https://tile.openstreetmap.org/7/38/48.png' image '', url='https://tile.openstreetmap.org/7/34/46.png' image '', url='https://tile.openstreetmap.org/7/39/46.png' image '', url='https://tile.openstreetmap.org/7/34/47.png' image '', url='https://tile.openstreetmap.org/7/39/47.png' image '', url='https://tile.openstreetmap.org/7/34/45.png' image '', url='https://tile.openstreetmap.org/7/39/45.png' image '', url='https://tile.openstreetmap.org/7/34/48.png' image '', url='https://tile.openstreetmap.org/7/39/48.png' image '', url='http://10.141.10.6:3000/assets/leaflet/dist/images/marker-shadow-a2d94406ba198f61f68a71ed8f9f9c701122c0c33b775d990edceae4aece567f.png' [10] button 'Marker' [11] link 'Zoom In', url='http://10.141.10.6:3000/directions#' [12] link 'Zoom Out', url='http://10.141.10.6:3000/directions#' [13] button 'Show My Location' [14] link 'Layers', url='http://10.141.10.6:3000/directions#' [15] link '', url='http://10.141.10.6:3000/directions#' [16] link 'Share', url='http://10.141.10.6:3000/directions#' [17] link '', url='http://10.141.10.6:3000/directions#' [18] link '', url='http://10.141.10.6:3000/directions#' StaticText '50 km' StaticText '50 mi' StaticText '©' [19] link 'OpenStreetMap contributors', url='http://10.141.10.6:3000/copyright' StaticText '♥' [20] link 'Make a Donation', url='https://donate.openstreetmap.org/' StaticText '.' [21] link 'Website and API terms', url='https://wiki.osmfoundation.org/wiki/Terms_of_Use'
To determine the travel time between MIT and Harvard, we need to trigger a route calculation. The “Go” button is the only element that initiates this request. No other actions are necessary until the route is computed.
click('5')RootWebArea 'OpenStreetMap', focused, url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.358%2C-71.097%3B42.368%2C-71.127#map=15/42.3609/-71.1126' banner '' heading 'OpenStreetMap logo OpenStreetMap' [22] link 'OpenStreetMap logo OpenStreetMap', url='http://10.141.10.6:3000/#map=15/42.3609/-71.1126' image 'OpenStreetMap logo', url='http://10.141.10.6:3000/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg' navigation '' [23] link 'Edit', url='http://10.141.10.6:3000/edit#map=15/42.3609/-71.1126' [24] button '' [25] link 'History', url='http://10.141.10.6:3000/history#map=15/42.3609/-71.1126' [26] link 'Export', url='http://10.141.10.6:3000/export#map=15/42.3609/-71.1126' navigation '' list '' listitem '' [32] link 'GPS Traces', url='http://10.141.10.6:3000/traces' listitem '' [33] link 'User Diaries', url='http://10.141.10.6:3000/diary' listitem '' [34] link 'Communities', url='http://10.141.10.6:3000/communities' listitem '' [35] link 'Copyright', url='http://10.141.10.6:3000/copyright' listitem '' [36] link 'Help', url='http://10.141.10.6:3000/help' listitem '' [37] link 'About', url='http://10.141.10.6:3000/about' [27] link 'Log In', url='http://10.141.10.6:3000/login?referer=%2Fdirections#map=15/42.3609/-71.1126' [28] link 'Sign Up', url='http://10.141.10.6:3000/user/new' [1] button 'Close' image '', url='http://10.141.10.6:3000/assets/marker-green-a018589d7f15e3d24bdc172041b6edafa5fbb17aa951d4fec717fcb62361b7e1.png' [2] textbox 'From' value='Massachusetts Institute of Technology, Allston Street, Cambridgeport, Cambridge, Middlesex County, Massachusetts, 02139, United States' StaticText 'Massachusetts Institute of Technology, Allston Street, Cambridgeport, Cambridge, Middlesex County, Massachusetts, 02139, United States' image '', url='http://10.141.10.6:3000/assets/marker-red-839c3d7015788811f3e0d154b69599f099cf8235c036893c61f802ba1a6ccdac.png' [3] textbox 'To' value='Harvard University, Hurlbut Street, Avon Hill, Cambridge, Middlesex County, Massachusetts, 02138, United States' StaticText 'Harvard University, Hurlbut Street, Avon Hill, Cambridge, Middlesex County, Massachusetts, 02138, United States' [4] combobox '' value='Car (OSRM)', hasPopup='menu', expanded=False MenuListPopup '' [29] option 'Bicycle (OSRM)', selected=False [30] option 'Car (OSRM)', selected=True [31] option 'Foot (OSRM)', selected=False [5] button 'Go', focused [6] button 'Reverse Directions' heading 'Directions' [7] button 'Close' paragraph '' StaticText 'Distance: 4.4km. Time: 0:07.' table '' row '' cell '' cell '1. Start on Vassar Street' cell '1000m' row '' cell '' cell '2. At the end of the road turn right onto Memorial Drive (US 3)' cell '1.6km' row '' cell '' cell '3. Turn left onto Western Avenue' cell '150m' row '' cell '' cell '4. Turn right onto the ramp towards Newton, Arlington' cell '200m' row '' cell '' cell '5. Merge left onto Soldiers Field Road' cell '400m' row '' cell '' cell '6. Take the ramp on the right towards Harvard Square, Cambridge' cell '200m' row '' cell '' cell '7. Turn left onto North Harvard Street' cell '400m' row '' cell '' cell '8. Turn right onto unnamed road' cell '300m' row '' cell '' cell '9. Turn right onto unnamed road' cell '90m' row '' cell '' cell '10. Reach destination' cell '' paragraph '' StaticText 'Directions courtesy of' [21] link 'OSRM (FOSSGIS)', url='https://routing.openstreetmap.de/about.html' image '', url='https://tile.openstreetmap.org/15/9910/12119.png' image '', url='https://tile.openstreetmap.org/15/9911/12119.png' image '', url='https://tile.openstreetmap.org/15/9910/12120.png' image '', url='https://tile.openstreetmap.org/15/9911/12120.png' image '', url='https://tile.openstreetmap.org/15/9910/12118.png' image '', url='https://tile.openstreetmap.org/15/9911/12118.png' image '', url='https://tile.openstreetmap.org/15/9909/12119.png' image '', url='https://tile.openstreetmap.org/15/9912/12119.png' image '', url='https://tile.openstreetmap.org/15/9909/12120.png' image '', url='https://tile.openstreetmap.org/15/9912/12120.png' image '', url='https://tile.openstreetmap.org/15/9910/12121.png' image '', url='https://tile.openstreetmap.org/15/9911/12121.png' image '', url='https://tile.openstreetmap.org/15/9909/12118.png' image '', url='https://tile.openstreetmap.org/15/9912/12118.png' image '', url='https://tile.openstreetmap.org/15/9909/12121.png' image '', url='https://tile.openstreetmap.org/15/9912/12121.png' image '', url='http://10.141.10.6:3000/assets/leaflet/dist/images/marker-shadow-a2d94406ba198f61f68a71ed8f9f9c701122c0c33b775d990edceae4aece567f.png' image '', url='http://10.141.10.6:3000/assets/leaflet/dist/images/marker-shadow-a2d94406ba198f61f68a71ed8f9f9c701122c0c33b775d990edceae4aece567f.png' [8] button 'Marker' [9] button 'Marker' [10] link 'Zoom In', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.358%2C-71.097%3B42.368%2C-71.127#' [11] link 'Zoom Out', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.358%2C-71.097%3B42.368%2C-71.127#' [12] button 'Show My Location' [13] link 'Layers', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.358%2C-71.097%3B42.368%2C-71.127#' [14] link '', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.358%2C-71.097%3B42.368%2C-71.127#' [15] link 'Share', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.358%2C-71.097%3B42.368%2C-71.127#' [16] link '', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.358%2C-71.097%3B42.368%2C-71.127#' [17] link '', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.358%2C-71.097%3B42.368%2C-71.127#' StaticText '300 m' StaticText '1000 ft' StaticText '©' [18] link 'OpenStreetMap contributors', url='http://10.141.10.6:3000/copyright' StaticText '♥' [19] link 'Make a Donation', url='https://donate.openstreetmap.org/' StaticText '.' [20] link 'Website and API terms', url='https://wiki.osmfoundation.org/wiki/Terms_of_Use'
To determine the optimal route among the three locations, we must know the travel times for: - MIT → Harvard (already known as 7 min) - MIT → Boston Logan International Airport - Harvard → Boston Logan International Airport The next logical step is to compute the MIT → Airport leg by setting the *To* field to “Boston Logan International Airport” and submitting the request.
fill('3', 'Boston Logan International Airport', False)RootWebArea 'OpenStreetMap', focused, url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.358%2C-71.097%3B42.368%2C-71.127#map=15/42.3609/-71.1126' banner '' heading 'OpenStreetMap logo OpenStreetMap' [22] link 'OpenStreetMap logo OpenStreetMap', url='http://10.141.10.6:3000/#map=15/42.3609/-71.1126' image 'OpenStreetMap logo', url='http://10.141.10.6:3000/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg' navigation '' [23] link 'Edit', url='http://10.141.10.6:3000/edit#map=15/42.3609/-71.1126' [24] button '' [25] link 'History', url='http://10.141.10.6:3000/history#map=15/42.3609/-71.1126' [26] link 'Export', url='http://10.141.10.6:3000/export#map=15/42.3609/-71.1126' navigation '' list '' listitem '' [32] link 'GPS Traces', url='http://10.141.10.6:3000/traces' listitem '' [33] link 'User Diaries', url='http://10.141.10.6:3000/diary' listitem '' [34] link 'Communities', url='http://10.141.10.6:3000/communities' listitem '' [35] link 'Copyright', url='http://10.141.10.6:3000/copyright' listitem '' [36] link 'Help', url='http://10.141.10.6:3000/help' listitem '' [37] link 'About', url='http://10.141.10.6:3000/about' [27] link 'Log In', url='http://10.141.10.6:3000/login?referer=%2Fdirections#map=15/42.3609/-71.1126' [28] link 'Sign Up', url='http://10.141.10.6:3000/user/new' [1] button 'Close' image '', url='http://10.141.10.6:3000/assets/marker-green-a018589d7f15e3d24bdc172041b6edafa5fbb17aa951d4fec717fcb62361b7e1.png' [2] textbox 'From' value='Massachusetts Institute of Technology, Allston Street, Cambridgeport, Cambridge, Middlesex County, Massachusetts, 02139, United States' StaticText 'Massachusetts Institute of Technology, Allston Street, Cambridgeport, Cambridge, Middlesex County, Massachusetts, 02139, United States' image '', url='http://10.141.10.6:3000/assets/marker-red-839c3d7015788811f3e0d154b69599f099cf8235c036893c61f802ba1a6ccdac.png' [3] textbox 'To' value='Boston Logan International Airport', focused StaticText 'Boston Logan International Airport' [4] combobox '' value='Car (OSRM)', hasPopup='menu', expanded=False MenuListPopup '' [29] option 'Bicycle (OSRM)', selected=False [30] option 'Car (OSRM)', selected=True [31] option 'Foot (OSRM)', selected=False [5] button 'Go' [6] button 'Reverse Directions' heading 'Directions' [7] button 'Close' paragraph '' StaticText 'Distance: 4.4km. Time: 0:07.' table '' row '' cell '' cell '1. Start on Vassar Street' cell '1000m' row '' cell '' cell '2. At the end of the road turn right onto Memorial Drive (US 3)' cell '1.6km' row '' cell '' cell '3. Turn left onto Western Avenue' cell '150m' row '' cell '' cell '4. Turn right onto the ramp towards Newton, Arlington' cell '200m' row '' cell '' cell '5. Merge left onto Soldiers Field Road' cell '400m' row '' cell '' cell '6. Take the ramp on the right towards Harvard Square, Cambridge' cell '200m' row '' cell '' cell '7. Turn left onto North Harvard Street' cell '400m' row '' cell '' cell '8. Turn right onto unnamed road' cell '300m' row '' cell '' cell '9. Turn right onto unnamed road' cell '90m' row '' cell '' cell '10. Reach destination' cell '' paragraph '' StaticText 'Directions courtesy of' [21] link 'OSRM (FOSSGIS)', url='https://routing.openstreetmap.de/about.html' image '', url='https://tile.openstreetmap.org/15/9910/12119.png' image '', url='https://tile.openstreetmap.org/15/9911/12119.png' image '', url='https://tile.openstreetmap.org/15/9910/12120.png' image '', url='https://tile.openstreetmap.org/15/9911/12120.png' image '', url='https://tile.openstreetmap.org/15/9910/12118.png' image '', url='https://tile.openstreetmap.org/15/9911/12118.png' image '', url='https://tile.openstreetmap.org/15/9909/12119.png' image '', url='https://tile.openstreetmap.org/15/9912/12119.png' image '', url='https://tile.openstreetmap.org/15/9909/12120.png' image '', url='https://tile.openstreetmap.org/15/9912/12120.png' image '', url='https://tile.openstreetmap.org/15/9910/12121.png' image '', url='https://tile.openstreetmap.org/15/9911/12121.png' image '', url='https://tile.openstreetmap.org/15/9909/12118.png' image '', url='https://tile.openstreetmap.org/15/9912/12118.png' image '', url='https://tile.openstreetmap.org/15/9909/12121.png' image '', url='https://tile.openstreetmap.org/15/9912/12121.png' image '', url='http://10.141.10.6:3000/assets/leaflet/dist/images/marker-shadow-a2d94406ba198f61f68a71ed8f9f9c701122c0c33b775d990edceae4aece567f.png' image '', url='http://10.141.10.6:3000/assets/leaflet/dist/images/marker-shadow-a2d94406ba198f61f68a71ed8f9f9c701122c0c33b775d990edceae4aece567f.png' [8] button 'Marker' [9] button 'Marker' [10] link 'Zoom In', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.358%2C-71.097%3B42.368%2C-71.127#' [11] link 'Zoom Out', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.358%2C-71.097%3B42.368%2C-71.127#' [12] button 'Show My Location' [13] link 'Layers', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.358%2C-71.097%3B42.368%2C-71.127#' [14] link '', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.358%2C-71.097%3B42.368%2C-71.127#' [15] link 'Share', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.358%2C-71.097%3B42.368%2C-71.127#' [16] link '', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.358%2C-71.097%3B42.368%2C-71.127#' [17] link '', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.358%2C-71.097%3B42.368%2C-71.127#' StaticText '300 m' StaticText '1000 ft' StaticText '©' [18] link 'OpenStreetMap contributors', url='http://10.141.10.6:3000/copyright' StaticText '♥' [19] link 'Make a Donation', url='https://donate.openstreetmap.org/' StaticText '.' [20] link 'Website and API terms', url='https://wiki.osmfoundation.org/wiki/Terms_of_Use'
To obtain the travel time between MIT and the airport, the route must be recalculated with the *Go* button after setting the *To* field to “Boston Logan International Airport”. Afterwards, we will need to compute the Harvard → Airport leg, but first we must get the MIT → Airport time.
click('5')RootWebArea 'OpenStreetMap', focused, url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.3583%2C-71.0966%3B42.3632%2C-71.0136#map=13/42.3664/-71.0576' banner '' heading 'OpenStreetMap logo OpenStreetMap' [22] link 'OpenStreetMap logo OpenStreetMap', url='http://10.141.10.6:3000/#map=13/42.3664/-71.0576' image 'OpenStreetMap logo', url='http://10.141.10.6:3000/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg' navigation '' [23] link 'Edit', url='http://10.141.10.6:3000/edit#map=13/42.3664/-71.0576' [24] button '' [25] link 'History', url='http://10.141.10.6:3000/history#map=13/42.3664/-71.0576' [26] link 'Export', url='http://10.141.10.6:3000/export#map=13/42.3664/-71.0576' navigation '' list '' listitem '' [32] link 'GPS Traces', url='http://10.141.10.6:3000/traces' listitem '' [33] link 'User Diaries', url='http://10.141.10.6:3000/diary' listitem '' [34] link 'Communities', url='http://10.141.10.6:3000/communities' listitem '' [35] link 'Copyright', url='http://10.141.10.6:3000/copyright' listitem '' [36] link 'Help', url='http://10.141.10.6:3000/help' listitem '' [37] link 'About', url='http://10.141.10.6:3000/about' [27] link 'Log In', url='http://10.141.10.6:3000/login?referer=%2Fdirections#map=13/42.3664/-71.0576' [28] link 'Sign Up', url='http://10.141.10.6:3000/user/new' [1] button 'Close' image '', url='http://10.141.10.6:3000/assets/marker-green-a018589d7f15e3d24bdc172041b6edafa5fbb17aa951d4fec717fcb62361b7e1.png' [2] textbox 'From' value='Massachusetts Institute of Technology, Allston Street, Cambridgeport, Cambridge, Middlesex County, Massachusetts, 02139, United States' StaticText 'Massachusetts Institute of Technology, Allston Street, Cambridgeport, Cambridge, Middlesex County, Massachusetts, 02139, United States' image '', url='http://10.141.10.6:3000/assets/marker-red-839c3d7015788811f3e0d154b69599f099cf8235c036893c61f802ba1a6ccdac.png' [3] textbox 'To' value='Logan International Airport, 1, Harborside Drive, Jeffries Point, East Boston, Boston, Suffolk County, Massachusetts, 02128, United States' StaticText 'Logan International Airport, 1, Harborside Drive, Jeffries Point, East Boston, Boston, Suffolk County, Massachusetts, 02128, United States' [4] combobox '' value='Car (OSRM)', hasPopup='menu', expanded=False MenuListPopup '' [29] option 'Bicycle (OSRM)', selected=False [30] option 'Car (OSRM)', selected=True [31] option 'Foot (OSRM)', selected=False [5] button 'Go', focused [6] button 'Reverse Directions' heading 'Directions' [7] button 'Close' paragraph '' StaticText 'Distance: 9.1km. Time: 0:15.' table '' row '' cell '' cell '1. Start on Vassar Street' cell '700m' row '' cell '' cell '2. Turn right onto Main Street' cell '900m' row '' cell '' cell '3. Continue on Longfellow Bridge (MA 3)' cell '700m' row '' cell '' cell '4. Continue on Charles Street (MA 3)' cell '600m' row '' cell '' cell '5. Merge left onto Storrow Drive (MA 3; MA 28)' cell '50m' row '' cell '' cell '6. At the fork turn right onto MA 3' cell '110m' row '' cell '' cell '7. Continue on MA 3' cell '1000m' row '' cell '' cell '8. Take exit 17B-A on the right towards MA 1A Toll: Airport, Government Center' cell '180m' row '' cell '' cell '9. Continue on unnamed road' cell '110m' row '' cell '' cell '10. At the fork turn left onto unnamed road' cell '200m' row '' cell '' cell '11. Continue on Callahan Tunnel (MA 1A)' cell '1.8km' row '' cell '' cell '12. Continue on East Boston Expressway (MA 1A)' cell '400m' row '' cell '' cell '13. Take the ramp on the right towards Logan Airport' cell '800m' row '' cell '' cell '14. At the fork turn left onto unnamed road' cell '170m' row '' cell '' cell '15. At the fork turn right onto unnamed road' cell '500m' row '' cell '' cell '16. Continue on Airport Road - Departures Level' cell '40m' row '' cell '' cell '17. At the fork turn left onto Airport Road - Departures Level' cell '300m' row '' cell '' cell '18. At the fork turn right onto unnamed road' cell '400m' row '' cell '' cell '19. Slight left onto unnamed road' cell '140m' row '' cell '' cell '20. Turn right onto unnamed road' cell '10m' row '' cell '' cell '21. Reach destination' cell '' paragraph '' StaticText 'Directions courtesy of' [21] link 'OSRM (FOSSGIS)', url='https://routing.openstreetmap.de/about.html' image '', url='https://tile.openstreetmap.org/13/2478/3029.png' image '', url='https://tile.openstreetmap.org/13/2479/3029.png' image '', url='https://tile.openstreetmap.org/13/2478/3030.png' image '', url='https://tile.openstreetmap.org/13/2479/3030.png' image '', url='https://tile.openstreetmap.org/13/2478/3028.png' image '', url='https://tile.openstreetmap.org/13/2479/3028.png' image '', url='https://tile.openstreetmap.org/13/2477/3029.png' image '', url='https://tile.openstreetmap.org/13/2480/3029.png' image '', url='https://tile.openstreetmap.org/13/2477/3030.png' image '', url='https://tile.openstreetmap.org/13/2480/3030.png' image '', url='https://tile.openstreetmap.org/13/2478/3031.png' image '', url='https://tile.openstreetmap.org/13/2479/3031.png' image '', url='https://tile.openstreetmap.org/13/2477/3028.png' image '', url='https://tile.openstreetmap.org/13/2480/3028.png' image '', url='https://tile.openstreetmap.org/13/2477/3031.png' image '', url='https://tile.openstreetmap.org/13/2480/3031.png' image '', url='http://10.141.10.6:3000/assets/leaflet/dist/images/marker-shadow-a2d94406ba198f61f68a71ed8f9f9c701122c0c33b775d990edceae4aece567f.png' image '', url='http://10.141.10.6:3000/assets/leaflet/dist/images/marker-shadow-a2d94406ba198f61f68a71ed8f9f9c701122c0c33b775d990edceae4aece567f.png' [8] button 'Marker' [9] button 'Marker' [10] link 'Zoom In', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.3583%2C-71.0966%3B42.3632%2C-71.0136#' [11] link 'Zoom Out', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.3583%2C-71.0966%3B42.3632%2C-71.0136#' [12] button 'Show My Location' [13] link 'Layers', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.3583%2C-71.0966%3B42.3632%2C-71.0136#' [14] link '', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.3583%2C-71.0966%3B42.3632%2C-71.0136#' [15] link 'Share', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.3583%2C-71.0966%3B42.3632%2C-71.0136#' [16] link '', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.3583%2C-71.0966%3B42.3632%2C-71.0136#' [17] link '', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.3583%2C-71.0966%3B42.3632%2C-71.0136#' StaticText '1 km' StaticText '3000 ft' StaticText '©' [18] link 'OpenStreetMap contributors', url='http://10.141.10.6:3000/copyright' StaticText '♥' [19] link 'Make a Donation', url='https://donate.openstreetmap.org/' StaticText '.' [20] link 'Website and API terms', url='https://wiki.osmfoundation.org/wiki/Terms_of_Use'
The optimal route depends on the microscopic travel times for the legs: 1. MIT → Harvard (already known ≈ 0:07). 2. MIT → Airport (currently 0:15). 3. Harvard → Airport (unknown). To resolve the uncertainty, we must replace the **From** location with Harvard. After that, we will click “Go” to obtain Harvard → Airport travel time and then calculate the total times for both possible sequences.
fill('2', 'Harvard University', False)RootWebArea 'OpenStreetMap', focused, url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.3583%2C-71.0966%3B42.3632%2C-71.0136#map=13/42.3664/-71.0576' banner '' heading 'OpenStreetMap logo OpenStreetMap' [22] link 'OpenStreetMap logo OpenStreetMap', url='http://10.141.10.6:3000/#map=13/42.3664/-71.0576' image 'OpenStreetMap logo', url='http://10.141.10.6:3000/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg' navigation '' [23] link 'Edit', url='http://10.141.10.6:3000/edit#map=13/42.3664/-71.0576' [24] button '' [25] link 'History', url='http://10.141.10.6:3000/history#map=13/42.3664/-71.0576' [26] link 'Export', url='http://10.141.10.6:3000/export#map=13/42.3664/-71.0576' navigation '' list '' listitem '' [32] link 'GPS Traces', url='http://10.141.10.6:3000/traces' listitem '' [33] link 'User Diaries', url='http://10.141.10.6:3000/diary' listitem '' [34] link 'Communities', url='http://10.141.10.6:3000/communities' listitem '' [35] link 'Copyright', url='http://10.141.10.6:3000/copyright' listitem '' [36] link 'Help', url='http://10.141.10.6:3000/help' listitem '' [37] link 'About', url='http://10.141.10.6:3000/about' [27] link 'Log In', url='http://10.141.10.6:3000/login?referer=%2Fdirections#map=13/42.3664/-71.0576' [28] link 'Sign Up', url='http://10.141.10.6:3000/user/new' [1] button 'Close' image '', url='http://10.141.10.6:3000/assets/marker-green-a018589d7f15e3d24bdc172041b6edafa5fbb17aa951d4fec717fcb62361b7e1.png' [2] textbox 'From' value='Harvard University', focused StaticText 'Harvard University' image '', url='http://10.141.10.6:3000/assets/marker-red-839c3d7015788811f3e0d154b69599f099cf8235c036893c61f802ba1a6ccdac.png' [3] textbox 'To' value='Logan International Airport, 1, Harborside Drive, Jeffries Point, East Boston, Boston, Suffolk County, Massachusetts, 02128, United States' StaticText 'Logan International Airport, 1, Harborside Drive, Jeffries Point, East Boston, Boston, Suffolk County, Massachusetts, 02128, United States' [4] combobox '' value='Car (OSRM)', hasPopup='menu', expanded=False MenuListPopup '' [29] option 'Bicycle (OSRM)', selected=False [30] option 'Car (OSRM)', selected=True [31] option 'Foot (OSRM)', selected=False [5] button 'Go' [6] button 'Reverse Directions' heading 'Directions' [7] button 'Close' paragraph '' StaticText 'Distance: 9.1km. Time: 0:15.' table '' row '' cell '' cell '1. Start on Vassar Street' cell '700m' row '' cell '' cell '2. Turn right onto Main Street' cell '900m' row '' cell '' cell '3. Continue on Longfellow Bridge (MA 3)' cell '700m' row '' cell '' cell '4. Continue on Charles Street (MA 3)' cell '600m' row '' cell '' cell '5. Merge left onto Storrow Drive (MA 3; MA 28)' cell '50m' row '' cell '' cell '6. At the fork turn right onto MA 3' cell '110m' row '' cell '' cell '7. Continue on MA 3' cell '1000m' row '' cell '' cell '8. Take exit 17B-A on the right towards MA 1A Toll: Airport, Government Center' cell '180m' row '' cell '' cell '9. Continue on unnamed road' cell '110m' row '' cell '' cell '10. At the fork turn left onto unnamed road' cell '200m' row '' cell '' cell '11. Continue on Callahan Tunnel (MA 1A)' cell '1.8km' row '' cell '' cell '12. Continue on East Boston Expressway (MA 1A)' cell '400m' row '' cell '' cell '13. Take the ramp on the right towards Logan Airport' cell '800m' row '' cell '' cell '14. At the fork turn left onto unnamed road' cell '170m' row '' cell '' cell '15. At the fork turn right onto unnamed road' cell '500m' row '' cell '' cell '16. Continue on Airport Road - Departures Level' cell '40m' row '' cell '' cell '17. At the fork turn left onto Airport Road - Departures Level' cell '300m' row '' cell '' cell '18. At the fork turn right onto unnamed road' cell '400m' row '' cell '' cell '19. Slight left onto unnamed road' cell '140m' row '' cell '' cell '20. Turn right onto unnamed road' cell '10m' row '' cell '' cell '21. Reach destination' cell '' paragraph '' StaticText 'Directions courtesy of' [21] link 'OSRM (FOSSGIS)', url='https://routing.openstreetmap.de/about.html' image '', url='https://tile.openstreetmap.org/13/2478/3029.png' image '', url='https://tile.openstreetmap.org/13/2479/3029.png' image '', url='https://tile.openstreetmap.org/13/2478/3030.png' image '', url='https://tile.openstreetmap.org/13/2479/3030.png' image '', url='https://tile.openstreetmap.org/13/2478/3028.png' image '', url='https://tile.openstreetmap.org/13/2479/3028.png' image '', url='https://tile.openstreetmap.org/13/2477/3029.png' image '', url='https://tile.openstreetmap.org/13/2480/3029.png' image '', url='https://tile.openstreetmap.org/13/2477/3030.png' image '', url='https://tile.openstreetmap.org/13/2480/3030.png' image '', url='https://tile.openstreetmap.org/13/2478/3031.png' image '', url='https://tile.openstreetmap.org/13/2479/3031.png' image '', url='https://tile.openstreetmap.org/13/2477/3028.png' image '', url='https://tile.openstreetmap.org/13/2480/3028.png' image '', url='https://tile.openstreetmap.org/13/2477/3031.png' image '', url='https://tile.openstreetmap.org/13/2480/3031.png' image '', url='http://10.141.10.6:3000/assets/leaflet/dist/images/marker-shadow-a2d94406ba198f61f68a71ed8f9f9c701122c0c33b775d990edceae4aece567f.png' image '', url='http://10.141.10.6:3000/assets/leaflet/dist/images/marker-shadow-a2d94406ba198f61f68a71ed8f9f9c701122c0c33b775d990edceae4aece567f.png' [8] button 'Marker' [9] button 'Marker' [10] link 'Zoom In', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.3583%2C-71.0966%3B42.3632%2C-71.0136#' [11] link 'Zoom Out', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.3583%2C-71.0966%3B42.3632%2C-71.0136#' [12] button 'Show My Location' [13] link 'Layers', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.3583%2C-71.0966%3B42.3632%2C-71.0136#' [14] link '', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.3583%2C-71.0966%3B42.3632%2C-71.0136#' [15] link 'Share', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.3583%2C-71.0966%3B42.3632%2C-71.0136#' [16] link '', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.3583%2C-71.0966%3B42.3632%2C-71.0136#' [17] link '', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_car&route=42.3583%2C-71.0966%3B42.3632%2C-71.0136#' StaticText '1 km' StaticText '3000 ft' StaticText '©' [18] link 'OpenStreetMap contributors', url='http://10.141.10.6:3000/copyright' StaticText '♥' [19] link 'Make a Donation', url='https://donate.openstreetmap.org/' StaticText '.' [20] link 'Website and API terms', url='https://wiki.osmfoundation.org/wiki/Terms_of_Use'
With the three locations: MIT → Harvard → Airport would total 7 min + 15 min = **22 min**. The alternative order MIT → Airport → Harvard would require the Airport → Harvard leg. Although not displayed, it is likely the same as Harvard → Airport (15 min) because road times are symmetric, yielding 15 min + 15 min = **30 min**. Thus the first sequence is the optimal route for minimal total travel time.
stop('The optimal route that minimizes total travel time is: MIT → Harvard University → Boston Logan International Airport. The total time is 22 minutes (7 minutes from MIT to Harvard, and 15 minutes from Harvard to the airport).')